import axios from '@/libs/request/axios'

//查询品牌列表
export const getBrandListByRule = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getBrandListByRule`,
        data: params,
        method: 'post'
    })
}
//查询车型列表
export const getModelListByRule = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getModelListByRule`,
        data: params,
        method: 'post'
    })
}
//查询款式列表
export const getStyleListByRule = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getStyleListByRule`,
        data: params,
        method: 'post'
    })
}
//查询款式列表
export const getCarDealList = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getCarDealList`,
        data: params,
        method: 'post'
    })
}
//查询所有的车商
export const getAllCarDealers = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getAllCarDealers`,
        data: params,
        method: 'post'
    })
}
//查询合作商列表
export const getAllChannelBaseInfo = (params) => {
    return axios.request({
        url: `/product/ruleAtomQuery/getAllChannelBaseInfo`,
        data: params,
        method: 'post'
    })
}

